Total Complexity | 57 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 410 |
Lines of code | 218 |
Logical lines of code | 107 |
Comment lines | 142 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_block_templates() | 42 | 16 | 49 | |
get_block_templates_from_directorist() | 48 | 8 | 32 | |
maybe_return_blocks_template() | 49 | 8 | 31 | |
get_single_block_template() | 56 | 6 | 17 | |
render_block_template() | 62 | 6 | 11 | |
get_block_templates_from_db() | 52 | 3 | 25 | |
remove_theme_templates_with_custom_alternative() | 55 | 2 | 23 | |
block_template_is_available() | 65 | 3 | 9 | |
get_templates_directory() | 72 | 2 | 6 | |
__construct() | 72 | 1 | 5 | |
init() | 71 | 1 | 5 | |
get_block_templates() | 72 | 1 | 5 |